package kr.hkit.powerjava.chapter07.Programming;

public class CheckId {

	private String originid, inputid;

	public CheckId(String originid) {
		super();
		this.originid = originid;
	}

	public void setInputid(String inputid) {
		this.inputid = inputid;
	}

	boolean sameId() {
		return originid.equals(inputid);
	}

	@Override
	public String toString() {
		return "CheckId [inputid=" + inputid + ", sameId()=" + sameId() + "]";
	}

}
